<?php


/**
 * Notes:
 * PROJECT_NAME : ERP v1.8 重构erp
 * User: 夏鱼儿<397072174@qq.com>
 * Date: 2024/3/14
 * Time: 11:06
 */

namespace app\api\model;

use app\admin\model\BaseModel;

class ApiBaseModel extends BaseModel
{
    public $user_id = 0;

    public function __construct(object|array $data = [])
    {
        parent::__construct($data);
        $this->user_id = request()->userInfo->id;
    }
}